package edu.scau.mis.pos.domain;

import org.springframework.stereotype.Component;

import java.util.Date;
import java.io.Serializable;

/**
 * (Alipayment)实体类
 *
 * @author xzh
 * @since 2024-04-24 22:31:37
 */
@Component
public class Alipayment implements Serializable {
    private static final long serialVersionUID = 319901349955505143L;
    /**
    * 支付宝支付记录id
    */
    private Long alipayId;
    /**
    * 我们输入的订单编号
    */
    private Long orderNo;
    /**
    * 支付宝交易状态
    */
    private String tradeStatus;
    /**
    * 支付宝交易凭证号
    */
    private String alipayNo;
    /**
    * 应付总金额
    */
    private Double totalAmount;
    /**
    * 实际支付金额
    */
    private Double amount;
    /**
    * 创建人
    */
    private String createBy;
    /**
    * 创建时间
    */
    private Date createTime;
    /**
    * 更新人
    */
    private String updateBy;
    /**
    * 更新时间
    */
    private Date updateTime;

    public Long getAlipayId() {
        return alipayId;
    }

    public void setAlipayId(Long alipayId) {
        this.alipayId = alipayId;
    }

    public Long getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(Long orderNo) {
        this.orderNo = orderNo;
    }

    public String getTradeStatus() {
        return tradeStatus;
    }

    public void setTradeStatus(String tradeStatus) {
        this.tradeStatus = tradeStatus;
    }

    public String getAlipayNo() {
        return alipayNo;
    }

    public void setAlipayNo(String alipayNo) {
        this.alipayNo = alipayNo;
    }

    public Double getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(Double totalAmount) {
        this.totalAmount = totalAmount;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

}
